home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-1.iso / AMUG Info / Apple Lic. / Apple II TNs(Text).sit / Apple II TNs(Text) / IIGS / TN.IIGS.044 / TN.IIGS.044
Encoding:
Text File  |  1989-11-15  |  1.9 KB  |  44 lines  |  [TEXT/pdos]

  1. Apple II
  2. Technical Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6.  
  7. Apple IIGS
  8. #44:    GetPenState and SetPenState Record Error
  9.  
  10. Written by:    Keith Rollin                                     November 1988
  11.  
  12. This Technical Note corrects an error in the record used for GetPenState and 
  13. SetPenState.
  14. _____________________________________________________________________________
  15.  
  16. The Apple IIGS Toolbox Reference, Volume 2 incorrectly describes the record 
  17. used to save and restore information about the drawing pen in Figure 16-38 on 
  18. page 16-238.  The include files for the Apple Programmer's Workshop (APW) and 
  19. the Macintosh Programmer's Workshop IIGS (MPW IIGS) assemblers and C compilers 
  20. also reflect this error.  The correct record is as follows:
  21.  
  22.      Offset        Field                    Description
  23.                    --------------------
  24.          $0       |__                __|
  25.          $1       |__    psPenLoc    __|    LONG - Point specifying pen
  26.          $2       |__                __|           location
  27.          $3       |____________________|
  28.          $4       |__                __|
  29.          $5       |__   psPenSize    __|    LONG - Point specifying pen size
  30.          $6       |__                __|
  31.          $7       |____________________|
  32.          $8       |__   psPenMode    __|    WORD - Pen mode
  33.          $9       |____________________|
  34.          $A       |                    |
  35.                   |                    |
  36.                   |      psPenPat      |    32 bytes - Pen pattern
  37.                   |                    |
  38.         $21       |____________________|
  39.         $22       |                    |
  40.                   |                    |
  41.                   |     psPenMask      |     8 bytes - Pen mask
  42.                   |                    |
  43.         $31       |____________________|
  44.         $32